package com.shujia.wyh.day13.homework.drinkdemo;

public class Drink {
    private int volume;
    private String name;

    public Drink() {
    }

    public Drink(int volume, String name) {
        this.volume = volume;
        this.name = name;
    }

    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void show(){
        System.out.println("您购买饮料信息如下。");
    }
}
